home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1998 September / Macworld (1998-09).dmg / Shareware World / Info / For Developers / MacZoop 1.8.3 / Required Classes / Z Headers / Compatibility.h next >
Text File  |  1998-06-18  |  2KB  |  77 lines

  1. /*************************************************************************************************
  2. *
  3. *
  4. *            MacZoop - "the framework for the rest of us"         
  5. *
  6. *
  7. *
  8. *            Compatibility.h            -- allow old universal headers to be used with new code
  9. *
  10. *
  11. *
  12. *
  13. *
  14. *            © 1996, Graham Cox
  15. *
  16. *
  17. *
  18. *
  19. *************************************************************************************************/
  20.  
  21.  
  22. #pragma once
  23.  
  24. #ifndef    __COMPATIBILITY__
  25. #define __COMPATIBILITY__
  26.  
  27. /*
  28.  
  29. MacZoop 1.8.2 and later requires at least version 3.0.1 of Universal Headers to compile.
  30. However, to keep older compiler/header combinations in the frame, this file will be
  31. included which maps the newer names to the older ones, so no-one has to worry about that.
  32.  
  33.  
  34. */
  35.  
  36. // font constants:
  37.  
  38. enum {
  39.     kFontIDNewYork         = newYork,
  40.     kFontIDGeneva         = geneva,
  41.     kFontIDMonaco         = monaco,
  42.     kFontIDVenice         = venice,
  43.     kFontIDLondon         = london,
  44.     kFontIDAthens         = athens,
  45.     kFontIDSanFrancisco = sanFran,
  46.     kFontIDToronto         = toronto,
  47.     kFontIDCairo         = cairo,
  48.     kFontIDLosAngeles     = losAngeles,
  49.     kFontIDTimes         = times,
  50.     kFontIDHelvetica     = helvetica,
  51.     kFontIDCourier         = courier,
  52.     kFontIDSymbol         = symbol,
  53.     kFontIDMobile         = mobile
  54. };
  55.  
  56. // drag manager constants:
  57.  
  58. enum {
  59.     kDragTrackingEnterHandler    = 1,                            /* drag has entered handler*/
  60.     kDragTrackingEnterWindow    = 2,                            /* drag has entered window*/
  61.     kDragTrackingInWindow        = 3,                            /* drag is moving within window*/
  62.     kDragTrackingLeaveWindow    = 4,                            /* drag has exited window*/
  63.     kDragTrackingLeaveHandler    = 5                                /* drag has exited handler*/
  64. };
  65.  
  66. // window zooming:
  67.  
  68. enum {
  69.     kZoomNoAcceleration            = 0,                            /* use linear interpolation*/
  70.     kZoomAccelerate                = 1,                            /* ramp up step size*/
  71.     kZoomDecelerate                = 2                                /* ramp down step size*/
  72. };
  73.  
  74.  
  75.  
  76. #endif
  77.